package cn.broadsense.thrid.param;

import cn.broadsense.thrid.result.BasePageResult;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 查询已加入分析的点位列表
 *
 * @author: pengxin
 * @create: 2022-12-29 16:23
 * @Version 1.0
 **/
@NoArgsConstructor
@Data
public class FunctionChannelListParam extends BasePageParam{

    private static final long serialVersionUID = 1553561937629095449L;
    private ConditionParam condition = new ConditionParam();
    private List<OrderParam> order = new ArrayList<>();


    @Override
    public void checkParam() {

    }

    @Override
    public Class getResultClass() {
        return BasePageResult.class;
    }

    @NoArgsConstructor
    @Data
    public static class ConditionParam {
        private String orgCode;
        private String keyWord;
        private Integer deviceCategory;
        private Integer deviceType;
        private String channelType;
        private String cameraFunctions;
        private String analysisSource;
        private Integer analysisType;
        private Boolean showAllPicChannel;
        private Integer analysing;
        private Integer isSync;
        private Integer carAnalysisStatus;
        private Integer scoreAnalysisStatus;
        private Integer faceAnalysisStatus;
        private Integer clusterAnalysisStatus;
    }

    @NoArgsConstructor
    @Data
    public static class OrderParam {
        private String orderBy;
        private String order;
    }
}
